projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dafb2b0
)
gtk-demo: Set an accessible role
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 4 Nov 2020 16:36:52 +0000
(11:36 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 4 Nov 2020 16:36:52 +0000
(11:36 -0500)
Set an accessible role for the toolbar in the
builder demo. This tests accessibility support
in GtkBuilder.
demos/gtk-demo/demo.ui
patch
|
blob
|
history
diff --git
a/demos/gtk-demo/demo.ui
b/demos/gtk-demo/demo.ui
index 22eccc535e10a2ecbe5db10ccfb63eeeb42751e5..dcbef3d04fb35f0ba9a873552cb362fadaa1d21f 100644
(file)
--- a/
demos/gtk-demo/demo.ui
+++ b/
demos/gtk-demo/demo.ui
@@
-100,9
+100,8
@@
</child>
<child>
<object class="GtkBox" id="toolbar1">
- <style>
- <class name="toolbar"/>
- </style>
+ <property name="accessible-role">toolbar</property>
+ <property name="css-classes">toolbar</property>
<child>
<object class="GtkButton">
<property name="label" translatable="yes">New</property>